/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SqlSugar;
using DGZImp.SysEntity;

namespace ATkg.BizAppProject.DomainModels
{
    [Entity(TableCnName = "销售客户月度统计",TableName = "sale_partner_monthly_statics",DBServer = "ServiceDbContext")]
    public partial class sale_partner_monthly_statics:ServiceEntity
    {
        /// <summary>
       ///
       /// </summary>
       [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
       [Key]
       [Display(Name ="id")]
       [Required(AllowEmptyStrings=false)]
       public int id { get; set; }

       /// <summary>
       ///年
       /// </summary>
       [Display(Name ="年")]
       [MaxLength(255)]
       [Editable(true)]
       public string year { get; set; }

       /// <summary>
       ///合同金额
       /// </summary>
       [Display(Name ="合同金额")]
       [Editable(true)]
       public decimal? contract_amount { get; set; }

       /// <summary>
       ///发货金额
       /// </summary>
       [Display(Name ="发货金额")]
       [Editable(true)]
       public decimal? delivery_amount { get; set; }

       /// <summary>
       ///预算金额
       /// </summary>
       [Display(Name ="预算金额")]
       [Editable(true)]
       public decimal? budget_amount { get; set; }

       /// <summary>
       ///去年合同金额
       /// </summary>
       [Display(Name ="去年合同金额")]
       [Editable(true)]
       public decimal? last_contract_amount { get; set; }

       /// <summary>
       ///去年发货金额
       /// </summary>
       [Display(Name ="去年发货金额")]
       [Editable(true)]
       public decimal? last_year_delivery_amount { get; set; }

       /// <summary>
       ///工厂
       /// </summary>
       [Display(Name ="工厂")]
       [MaxLength(255)]
       public string factory { get; set; }

       
    }
}